package com.demo.client.test;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@AllArgsConstructor
@NoArgsConstructor
@Data
public class User implements Notice {

    private String name;


    @Override
    public void noticeInfo(String msg) {
        System.out.println("通知到用户消息" + msg);
    }
}
